package com.suoluo.zenadmin.vo.trip;

import java.math.BigDecimal;

public class TripdestVO {

//	tripdest_id	int	not null	主键
	private int tripdestId;
//	name	varchar(32)	not null	行程目的地名称
	private String name;
//	dest_id	int	not null	系统目的地的编号，即tb_dest中的id
	private int destId;
//	lat	decimal(18,15)	not null	纬度
	private BigDecimal lat;
//	lng	decimal(18,15)	not null	经度
	private BigDecimal lng;
//	custom	bit	not null	"自定义地点
//	1：自定义地点
//	0:系统后台定义的地点"
	private int custom;
//	status	bit	not null	"状态，如果是系统目的地则默认为审核通过，自定义的则为没有审核通过的
//	1：审核
//	0：未审核"
	private int status;
	
	private String image;
	
	private String googleId;
	
	private String googleReference;
	
	public int getTripdestId() {
		return tripdestId;
	}
	public void setTripdestId(int tripdestId) {
		this.tripdestId = tripdestId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getDestId() {
		return destId;
	}
	public void setDestId(int destId) {
		this.destId = destId;
	}
	public BigDecimal getLat() {
		return lat;
	}
	public void setLat(BigDecimal lat) {
		this.lat = lat;
	}
	public BigDecimal getLng() {
		return lng;
	}
	public void setLng(BigDecimal lng) {
		this.lng = lng;
	}
	public int getCustom() {
		return custom;
	}
	public void setCustom(int custom) {
		this.custom = custom;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getGoogleId() {
		return googleId;
	}
	public void setGoogleId(String googleId) {
		this.googleId = googleId;
	}
	public String getGoogleReference() {
		return googleReference;
	}
	public void setGoogleReference(String googleReference) {
		this.googleReference = googleReference;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + tripdestId;
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		TripdestVO other = (TripdestVO) obj;
		if (tripdestId != other.tripdestId)
			return false;
		return true;
	}
}
